package com.itheima.Test;

public class Student {
    /*
     1. 请定义一个Student类，属性：姓名、性别、年龄、分数
	   无参、全参构造方法
	   get/set方法
     */
    private String name ;
    private char sex;
    private int age;
    private int score;

    public Student() {
    }

    public Student(String name, char sex, int age, int score) {
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.score = score;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public char getSex() {
        return sex;
    }

    public void setSex(char sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }
}
